/* 基础样式 */
body {
    background-color: #ffffff;
    color: #121212;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 导航栏样式 */
.navbar {
    background-color: #121212;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
    color: #1DB954 !important;
}

.nav-link {
    color: #b3b3b3 !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ffffff !important;
}

/* 内容区域样式 */
.content {
    flex: 1;
    padding: 2rem 0;
}

/* 页脚样式 */
.footer {
    background-color: #181818;
    padding: 1rem 0;
    text-align: center;
    color: #b3b3b3;
}

/* 音乐卡片样式 */
.music-card {
    background-color: #181818;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
}

.music-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.music-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.music-info {
    padding: 1rem;
}

.music-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.music-artist {
    color: #b3b3b3;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.play-btn {
    background-color: #1DB954;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    background-color: #1ed760;
}

/* 播放器样式 */
.player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #181818;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.player-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.now-playing {
    display: flex;
    align-items: center;
}

.now-playing img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 1rem;
}

.track-info {
    margin-right: 2rem;
}

.track-title {
    font-weight: bold ;
    margin-bottom: 0.25rem;
}

.track-artist {
    color: #b3b3b3;
    font-size: 0.8rem;
}

.player-controls {
    display: flex;
    align-items: center;
}

.control-btn {
    background: none;
    border: none;
    color: #b3b3b3;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.control-btn:hover {
    color: #ffffff;
}

.play-pause-btn {
    background-color: #ffffff;
    color: #181818;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 1rem;
    transition: transform 0.3s ease;
}

.play-pause-btn:hover {
    transform: scale(1.1);
    color: #181818;
}

.progress-container {
    width: 100%;
    max-width: 400px;
    margin: 0 1rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: #333;
    border-radius: 2px;
    cursor: pointer;
}

.progress {
    height: 100%;
    background-color: #1DB954;
    border-radius: 2px;
    width: 0%;
}

.volume-control {
    display: flex;
    align-items: center;
}

.volume-icon {
    margin-right: 0.5rem;
    color: #b3b3b3;
}

.volume-bar {
    width: 100px;
    height: 4px;
    background-color: #333;
    border-radius: 2px;
    cursor: pointer;
}

.volume-progress {
    height: 100%;
    background-color: #b3b3b3;
    border-radius: 2px;
    width: 70%;
}

/* 关于页面样式 */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-container h1 {
    margin-bottom: 2rem;
    color: #1DB954;
}

.about-container p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-icon {
    font-size: 2rem;
    color: #1DB954;
    margin-bottom: 1rem;
}

.feature-card {
    background-color: ADD8E6 #;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* 响应式样式 */
@media (max-width: 768px) {
    .player-content {
        flex-direction: column;
    }

    .now-playing {
        margin-bottom: 1rem;
    }

    .progress-container {
        margin: 1rem 0;
    }
}
